home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: mmap question
- Date: Sat, 06 Jan 96 14:37:18 GMT
- Organization: none
- Message-ID: <820939038snz@genesis.demon.co.uk>
- References: <4cgm6a$1n2@holodeck.iss.nus.sg>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4cgm6a$1n2@holodeck.iss.nus.sg> paulwu@iss.nus.sg "Paul Wu" writes:
-
- > ctr_tbl->trieArray=(UC_TRIE_NODE *)(mmap((caddr_t)0, off_set2,
- > PROT_READ, MAP_SHARED, *fdesc, (off_t)(off_set1-j))+j);
- >
- >Should I be more careful about the PROT_READ and MAP_SHARED parameters?
-
- Try comp.unix.programmer. mmap is undefined as far as the C language
- is concerned i.e. anything could happen.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-